/*=============================================================================

MOTTIOIN FUNCTION TABLE AUX. DEFINITION

FILE: MOTFTbl_aux.h

DESCRIPTION

Motion configuration

EXTERNALIZED FUNCTIONS


Copyright (c) DaeSung Engineering Inc. All rights reserved.

=============================================================================*/
/*=============================================================================

EDIT HISTORY

---------  -------  -------------------------------------------------------
when       who       what, where, why
---------  -------  -------------------------------------------------------
07/15/04   nso4th    Initial version

=============================================================================*/


#ifndef _MOTFTBL_AUX_H_
#define _MOTFTBL_AUX_H_
/*=============================================================================
HEADER INCLUSION
=============================================================================*/
#include <Cust_Target.h>

/*---------------------------------------------------------
DEVICE SURPORT PACKAGES
--------------------------------------------------------*/
//#include <devSP/motHal_CAMCQI.h>

/*=============================================================================
AUX. DEFINITIOON
=============================================================================*/
/*---------------------------------------------------------
AXIS DEFNITION
---------------------------------------------------------*/
typedef enum
{	
	MOT_AXIS_X = MOT_AXIS_0,
	MOT_AXIS_Y = MOT_AXIS_1,
	MOT_AXIS_A = MOT_AXIS_2,
	MOT_AXIS_B = MOT_AXIS_3,
	MOT_AXIS_C = MOT_AXIS_4,
	MOT_AXIS_D = MOT_AXIS_5,
	MOT_AXIS_E = MOT_AXIS_6,
	

	MOT_AXIS_MAX = MOT_AXIS_7,
	MOT_AXIS_ALL_MAX = MOT_AXIS_7,

} MOTFTBl_Axis_e;

/*---------------------------------------------------------
MAX SPEED DEFNITION
---------------------------------------------------------*/
#define MOT_VEL_MAX_X			(400.0)
#define MOT_VEL_MAX_Y			(400.0)
#define MOT_VEL_MAX_A			(400.0)
#define MOT_VEL_MAX_B			(400.0)
#define MOT_VEL_MAX_C			(400.0)
#define MOT_VEL_MAX_D			(400.0)
#define MOT_VEL_MAX_E			(400.0)

/*---------------------------------------------------------
STROKE DEFINITION
---------------------------------------------------------*/
#define MOT_POS_MIN_X			(-40.0)
#define MOT_POS_MAX_X			(570.0)

#define MOT_POS_MIN_Y			(-100.0)
#define MOT_POS_MAX_Y			(300.0)

#define MOT_POS_MIN_A			(-40.0)
#define MOT_POS_MAX_A			(570.0)

#define MOT_POS_MIN_B			(-100.0)
#define MOT_POS_MAX_B			(300.0)

#define MOT_POS_MIN_C			(-40.0)
#define MOT_POS_MAX_C			(570.0)

#define MOT_POS_MIN_D			(-100.0)
#define MOT_POS_MAX_D			(300.0)

#define MOT_POS_MIN_E			(-40.0)
#define MOT_POS_MAX_E			(570.0)

/*---------------------------------------------------------
IN-POSITION ERROR TOLERANCE
---------------------------------------------------------*/
#define MOT_INPOS_TOL_X		(0.004)
#define MOT_INPOS_TOL_Y		(0.004)
#define MOT_INPOS_TOL_A		(0.004)
#define MOT_INPOS_TOL_B		(0.004)
#define MOT_INPOS_TOL_C		(0.004)
#define MOT_INPOS_TOL_D		(0.004)
#define MOT_INPOS_TOL_E		(0.004)

/*---------------------------------------------------------
HOMMING
---------------------------------------------------------*/

/*---------------------------------------------------------
TRIGGER PULSE WIDTH DEFINITIOIN
---------------------------------------------------------*/

/*=============================================================================
EXTERNALIZED FUNCION DEFINITION
=============================================================================*/
#if defined(__cplusplus)
extern "C"
{
#endif








#if defined(__cplusplus)
}
#endif

#endif /* _MOTFTBL_AUX_H_ */


/*=============================================================================
EXTERNALIZED FUNCTION DESCRPTIONS
=============================================================================*/
/*--- END OF MOTFTbl_aux.h ---*/

